home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: Jane Harper <jharper@ix.netcom.com>
- Newsgroups: comp.lang.c
- Subject: How do the functions in <time.h> work?
- Date: Thu, 18 Apr 1996 07:38:18 -0700
- Organization: Netcom
- Message-ID: <317653DA.5066@ix.netcom.com>
- NNTP-Posting-Host: sjx-ca9-24.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NETCOM-Date: Thu Apr 18 7:38:09 AM PDT 1996
- X-Mailer: Mozilla 2.01 (Win95; U)
-
- This is sort of a homework question, so flame away if you must ...
-
- ...but I'm attempting to write a bit of code to access the system time
- and when I call ctime() it returns January, 2014 (!!!!) How does ctime
- work (or any of the fx in <time.h> for that matter, since they're all
- connected)? What are some possible reasons for this bogus return?
-
- TIA
-
- Jane Harper
-